package com.example.demo.bean;

import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * Author: wuhaoduan
 * Date: 2021/4/13 10:08
 */
@ConfigurationProperties(prefix = "sai.auto")
public class CustomerProperties {

    /**
    * 自动配置类是否生效
    */
    private Boolean enable;

    public boolean isEnable(){
        return enable;
    }

    public void setEnable(Boolean enable){
        this.enable = enable;
    }
}
